import request from "@/utils/request";

//获取储位统计信息
export function storageLocation() {
  return request({
    url: "meter/mdStockPosInfo/getStockStatistics",
    method: "get",
  });
}

//报警数量查询
export function getWarningCounts() {
  return request({
    url: "meter/mdWarningInfo/getWarningCounts",
    method: "get",
  });
}

//资产统计信息查询
export function assetStatistics(curStatusCode) {
  return request({
    url: '/meter/mdMeter/getMaterialStatisticsInfo/' + curStatusCode,
    method: "get",
  });
}

//出入库统计信息查询
export function warehouseStatistics() {
  return request({
    url: "meter/mdInTask/getIoStatisticsInfo",
    method: "get",
  });
}
